package visitor;

/**
 * 蜜蜂访问
 **/
public class BeeVisitor implements Visitor {

	@Override
	public void visit(Gladiolus g) {

		System.out.println("蜜蜂来访问：" + g.getClass().getName());
	}

	@Override
	public void visit(Chrysanthemum c) {

		System.out.println("蜜蜂来访问：" + c.getClass().getName());
	}

}
